<template>
	<div>
		HOME
		<p v-for="(item,index) in this.$store.state.arr" :key="index">{{item.commentTxt}}</p>
	</div>
</template>

<script>
    export default {
        name: "Home",
		mounted() {
            this.$store.dispatch('fun')
        }
    }
</script>

<style scoped>
	div{
		height: 500px;
		display: flex;
		justify-content: center;
		flex-direction: column;
		align-items: center;
	}
</style>